# @Author：silence
# @Email：792245022@qq.com
# @Date：2025/1/7 1:25

# i = 1
#
# while i <= 100:
#     if i % 3 == 0:
#         print(f"{i} 能被 3 整除")
#     i += 1

# i = 40
#
# while i <= 200:
#     if i % 2 == 0:
#         print(f"{i} 为偶数")
#     i += 1

# name = None
#
# while name != "exit":
#     name = input("请输入你的姓名：")

# i = 1
# count = 0
# num_sum = 0
#
# while i <= 100:
#     if i % 9 == 0:
#         count += 1
#         num_sum += i
#         print(f"{i} 是 9 的倍数")
#     i += 1
# else:
#     print(f"能被 9 整除的个数为：{count}，总和为：{num_sum}")

num = int(input("请输入一个整数："))
i = num

while i >= 0:
    print(f"{num - i} + {i} = {i}")
    i -= 1
